<?php


namespace app\common\model;


use think\Exception;

class ZhunleCounselorProblem extends Base
{
    protected $table = 'wechat_backup_07_18_14_43_00.zhunle_counselor_problem';

    /**
     * 咨询问题写入
     * @param $data
     * @return mixed
     */
    public function insertProblemData($data)
    {
        //todo redis缓存 处理

        try
        {
            $this->save($data);
        }
        catch (Exception $e)
        {

        }

        return $this->id;
    }
}
